const menuModel = {
  add: "insert into system_menu set ?",
  list: "select * from system_menu order by sort asc",
  editMenu: "update system_menu set ? where id = ?",
  deleteMenu: "delete from system_menu where id = ?",
  checkParentId: "select * from system_menu where parent_id = ?",
  getBindList: (id_str) => `SELECT * FROM system_menu WHERE id IN (${id_str})`,
};
module.exports = menuModel;
